import time


from selenium import webdriver
from selenium.webdriver.common.by import By


driver=webdriver.Edge()
driver.get("http://localhost:8081/regA.html")

# driver.find_elements  是列表    列表里面套元素
eles_p=driver.find_elements(By.TAG_NAME,"")
eles_p[2].click()



#

# 4 关闭浏览器驱动对象
time.sleep(10)  #代码暂停10s中
driver.quit()
